package org.zty.util;

import java.io.File;
import java.io.FilenameFilter;

public class ZFileNameFilter implements FilenameFilter{
	public ZFileNameFilter(String _extendName)
    {
        sExt = _extendName;
    }

    public boolean accept(File _dir, String _name)
    {
        return _name.endsWith(sExt);
    }

    private String sExt;
}
